{% extends "base.html" %}
{% load staticfiles %}

{% block extrastyle %}
    {{ block.super }}
    <script src="{% static "js/echarts.min.js" %}"></script>
{% endblock %}

{% block data-type %} data-type="chart"{% endblock %}

{% block blockactivenav %}
    $("ul.tpl-left-nav-menu li.tpl-left-nav-item:eq(1) a:eq(0)").addClass("active");
{% endblock %}

{% block pretitle %}
    <div class="tpl-content-page-title">
        Amaze UI 表单
    </div>
{% endblock %}

{% block breadcrumbs %}
    <ol class="am-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">表单</a></li>
        <li class="am-active">Amaze UI 表单</li>
    </ol>
{% endblock %}

{% block content %}
    <div class="tpl-portlet-components">
        <div class="portlet-title">
            <div class="caption font-green bold">
                <span class="am-icon-code"></span> 折线图
            </div>
            <div class="tpl-portlet-input tpl-fz-ml">
                <div class="portlet-input input-small input-inline">
                    <div class="input-icon right">
                        <i class="am-icon-search"></i>
                        <input type="text" class="form-control form-control-solid" placeholder="搜索..."></div>
                </div>
            </div>


        </div>
        <div class="tpl-block">
            <div class="am-g">
                <div class="am-u-sm-12 am-u-md-6">
                    <div class="am-btn-toolbar">
                        <div class="am-btn-group am-btn-group-xs">
                            <button type="button" class="am-btn am-btn-default am-btn-success"><span
                                    class="am-icon-plus"></span> 新增
                            </button>
                            <button type="button" class="am-btn am-btn-default am-btn-secondary"><span
                                    class="am-icon-save"></span> 保存
                            </button>
                            <button type="button" class="am-btn am-btn-default am-btn-warning"><span
                                    class="am-icon-archive"></span> 审核
                            </button>
                            <button type="button" class="am-btn am-btn-default am-btn-danger"><span
                                    class="am-icon-trash-o"></span> 删除
                            </button>
                        </div>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-3">
                    <div class="am-form-group">
                        <select data-am-selected="{btnSize: 'sm'}">
                            <option value="option1">所有类别</option>
                            <option value="option2">IT业界</option>
                            <option value="option3">数码产品</option>
                            <option value="option3">笔记本电脑</option>
                            <option value="option3">平板电脑</option>
                            <option value="option3">只能手机</option>
                            <option value="option3">超极本</option>
                        </select>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-3">
                    <div class="am-input-group am-input-group-sm">
                        <input type="text" class="am-form-field">
                        <span class="am-input-group-btn">
    <button class="am-btn  am-btn-default am-btn-success tpl-am-btn-success am-icon-search" type="button"></button>
    </span>
                    </div>
                </div>
            </div>


            <!--此部分数据请在 js文件夹下中的 app.js 中的 “百度图表A” 处修改数据 插件使用的是 百度echarts-->
            <div class="tpl-echarts tpl-chart-mb" id="tpl-echarts-A">

            </div>
            <div class="portlet-title">
                <div class="caption font-green bold">
                    <span class="am-icon-code"></span> 雷达图
                </div>
            </div>
            <div class="tpl-echarts tpl-chart-mb" id="tpl-echarts-B">

            </div>

            <div class="portlet-title">
                <div class="caption font-green bold">
                    <span class="am-icon-code"></span> 折线柱图
                </div>
            </div>
            <div class="tpl-echarts tpl-chart-mb" id="tpl-echarts-C">

            </div>
        </div>

    </div>
{% endblock %}